package com.ruoyi.equ.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;
import java.util.Map;

/**
 * 设备领用对象 equ_collect
 * 
 * @author luguanqing
 * @date 2020-10-23
 */
public class EquCollect extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 领用id */
    private String id;

    /** 领用单号 */
    @Excel(name = "领用单号")
    private String colNum;

    /** 领用设备id */
    @Excel(name = "领用设备id")
    private String equId;

    /** 领用设备编号 */
    @Excel(name = "领用设备编号")
    private String equNum;

    /** 领用设备名称 */
    @Excel(name = "领用设备名称")
    private String equName;

    /** 设备型号规格 */
    @Excel(name = "设备型号规格")
    private String equModel;

    /** 设备准确度 */
    @Excel(name = "设备准确度")
    private String equAccuracy;

    /** 设备检定证书编号 */
    @Excel(name = "设备检定证书编号")
    private String equCertificate;

    /** 领用状态 */
    @Excel(name = "领用状态")
    private String colState;


    /** 设备信息 */
    private List<Map<String, String>> equInformation;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setColNum(String colNum) 
    {
        this.colNum = colNum;
    }

    public String getColNum() 
    {
        return colNum;
    }
    public void setEquId(String equId) 
    {
        this.equId = equId;
    }

    public String getEquId() 
    {
        return equId;
    }

    public String getEquNum() {
        return equNum;
    }

    public void setEquNum(String equNum) {
        this.equNum = equNum;
    }

    public void setColState(String colState) 
    {
        this.colState = colState;
    }

    public String getColState() 
    {
        return colState;
    }

    public String getEquName() {
        return equName;
    }

    public void setEquName(String equName) {
        this.equName = equName;
    }

    public List<Map<String, String>> getEquInformation() {
        return equInformation;
    }

    public void setEquInformation(List<Map<String, String>> equInformation) {
        this.equInformation = equInformation;
    }

    public String getEquModel() {
        return equModel;
    }

    public void setEquModel(String equModel) {
        this.equModel = equModel;
    }

    public String getEquAccuracy() {
        return equAccuracy;
    }

    public void setEquAccuracy(String equAccuracy) {
        this.equAccuracy = equAccuracy;
    }

    public String getEquCertificate() {
        return equCertificate;
    }

    public void setEquCertificate(String equCertificate) {
        this.equCertificate = equCertificate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("colNum", getColNum())
            .append("equId", getEquId())
            .append("equNum", getEquNum())
            .append("colState", getColState())
            .append("equName", getEquName())
            .toString();
    }
}
